#define _CRT_SECURE_NO_WARNINGS 1

#include"List.h"

void test1()
{
	LTNode* list = LTInit();
	LTPushBack(list,1);
	LTPushBack(list, 2);
	LTPushBack(list, 3);
	LTPushBack(list, 4);
	LTPushBack(list, 5);
	LTPrint(list);
	LTPopBack(list);
	LTPopBack(list);
	//LTPopBack(list);
	
	//LTPopBack(list);
	LTPrint(list);


}
void test2()
{
	LTNode* list = LTInit();
	LTPushFront(list, 1);
	LTPushFront(list, 2);
	LTPushFront(list, 3);
	LTPushFront(list, 4);
	LTPushFront(list, 5);
	LTPrint(list);
	//LTInsert(list->next, 6);
	LTPopFront(list);
	LTPopFront(list);
	LTPopFront(list);
	//LTPopFront(list);
	//printf("%d\n",LTSize(list));
	LTPrint(list);




}
int main()
{
	//test1();
	test2();
	return 0;
}

